<?php
/**
 * created by zzy
 * date: 2017/10/24 9:40
 */
namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;

class CompanyRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'Company\Controllers', 'prefix'=>'company'], function ($router) {

            $router->any('contacts', 'ContactsController@index');
            $router->any('logistics-list', 'LogisticsController@lists');
            $router->any('logistics-detail', 'LogisticsController@detail');
            $router->any('notes-list', 'LogisticsController@notesList');
            $router->any('notes-detail', 'LogisticsController@notesDetail');

        });
    }
}